home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000114-20000217 / 000265_news@columbia.edu _Wed Feb 16 15:10:23 2000.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA03216
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 16 Feb 2000 15:10:22 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA00076
  7.     for kermit.misc@watsun.cc.columbia.edu; Thu, 10 Feb 2000 11:58:45 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Subject: Re: Installing Kermit
  11. Date: 10 Feb 2000 16:58:43 GMT
  12. Organization: Columbia University
  13. Message-ID: <87uqo3$29$1@newsmaster.cc.columbia.edu>
  14. To: kermit.misc@columbia.edu
  15.  
  16. In article <87uhg6$amt$1@nnrp1.deja.com>,  <terramartin@my-deja.com> wrote:
  17. : Can anybody help, Please??!!!  My first time working with Kermit and
  18. : I'm having a hard time.  Here is my my makefile along with the
  19. : errors I'm getting.
  20. : ...
  21. : (root): /home/mine/kermit> make aix43
  22. : ...
  23. : ld: 0711-781 ERROR: TOC overflow. TOC size: 70908 Maximum size: 65536
  24. : ...
  25. : Please tell me what we're doing wrong?  Thanks in advance
  26. This is a strange report because it doesn't happen elsewhere to my knowledge.
  27. I've built C-Kermit 7.0 on AIX 4.1.3 through 4.3.3 without this error.
  28.  
  29. My first reply about increasing -qmaxmem wasn't right; it does not affect
  30. this problem.
  31.  
  32. According to "man ld" on AIX 4.3:
  33.  
  34.   Options (-bOptions)
  35.   ...
  36.   bigtoc Generates extra code if the size of the table of contents (TOC)
  37.   is greater than 64KB. Extra code is needed for every reference to a
  38.   TOC symbol that cannot be addressed with a 16-bit offset. Because a
  39.   program containing generated code may have poor performance, you
  40.   should reduce the number of TOC entries needed by the program before
  41.   using this option. The default is the nobigtoc option.
  42.   ...
  43.   nobigtoc Generates a severe error message if the size of the TOC is
  44.   greater than 64KB. If an output file is produced, it will not execute
  45.   correctly.  This is the default.
  46.  
  47. Therefore, adding -bbigtoc should remove this error.  However, the man page
  48. is not crystal clear on the syntax.  Is it "-bbigtoc" or "-bOptions:bigtoc"
  49. or what?  I tried both, and there were no complaints.  But then again, I
  50. can't reproduce the original problem on any AIX 4.1 platform I have access
  51. to.
  52.  
  53. - Frank